<?php
namespace App\Http\Controllers\Api\Trade;

use App\Http\Controllers\Api\Controller;
use App\Models\Trade\Search\SearchHotModel;

class SearchController extends Controller
{

    /**
     * 获取热门关键词
     */
    public function getHotKeyword()
    {
        $data = SearchHotModel::selectByTimed();
        
        return $this->response->setResponseData($data)->getResponse();
    }
}
